/**
 * BaseStructure
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2018-05-15  Created
 */
package com.lzy.cloud.base.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * Create Date Time: 2018-05-15
 *
 * @see 'http://www.lzyhll.com'
 */
@Data
public class BaseStructureDto implements Serializable {
    private static final long serialVersionUID = -7235374690031621613L;
    /**
     * ID
     */
    private Long id;

    /**
     * 组织名称
     */
    private String name;

    /**
     * 序号
     */
    private Long serial;

    /**
     * 上级编号id(主体id)
     */
    private Long higherId;

    /**
     * 介绍
     */
    private String introduce;

    /**
     * 新增人id
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新人id
     */
    private Long updateUser;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 删除标记（0-正常，1-已删除）
     */
    private Boolean deleted;


    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }


    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }


    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

}